From: Deniz Dogan Date: Wed, 16 Feb 2011 21:06:23 +0000 (+0100) Subject: * lisp/simple.el (just-one-space): Remove useless `or' call. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~4742 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=a50e91a261aec6054fd3ab2b309202f87157f97d;p=emacs.git * lisp/simple.el (just-one-space): Remove useless `or' call. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d0d3455ae44..3a187842d34 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2011-02-16 Deniz Dogan + + * simple.el (just-one-space): Remove useless `or' call. + 2011-02-16 Alex Harsanyi * soap-client.el (soap-well-known-xmlns, soap-local-xmlns) diff --git a/lisp/simple.el b/lisp/simple.el index 4d2a0e69836..531c9212e34 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -778,7 +778,7 @@ If N is negative, delete newlines as well." (n (abs n))) (skip-chars-backward skip-characters) (constrain-to-field nil orig-pos) - (dotimes (i (or n 1)) + (dotimes (i n) (if (= (following-char) ?\s) (forward-char 1) (insert ?\s)))